﻿<!DOCTYPE html>
<html>
<head>
    <th:block th:include="home/commons/include :: common_header('公司新闻')" />
</head>
<style>
     @media (max-width: 1024px) {
        .banner-n { margin-top: 60px; }
    }
    .wb{
        width: 724;
    }
</style>

<body>
<th:block th:include="home/commons/include :: index-header(4)"/>

    <div class="banner-n clearfix">
        <div class="frame" style="background: url(/index/images/timg4.jpg) no-repeat center center; background-size:cover; width:100%;"></div>
    </div>
<div class="wy_dw">
    <div class="dw g_cw">
        <p>
            <img class="" th:src="@{/index/images/dw_nei.png}">
            <a th:href="@{/home/index/index}">网站首页</a><span> &nbsp >> &nbsp </span><a th:href="@{/home/index/news}">公司新闻</a>
        </p>
    </div>
</div>
<div class="news_home">
        <div class="g_cw g_mt">
            <div class="g_title">
                <h5></h5>
                <h6>NEWS</h6>
            </div>
            <div class="right">
                <ul class="list_a">
                    <li><a href="?_ct=公司新闻" class="">公司新闻</a></li>
                </ul>
            </div>
        </div>

        <div class="news_list">
            <div class="g_cw">
                <ul class="list">
                    <li th:each="item : ${news}">
                        <a th:href="@{/home/index/news_detail(id=${item.id})}" target="_blank">
                            <div class="rq_a">
                                <p th:fmt="${#dates.format(item.ctime,'yyyy/MM/dd')}"></p>
                                <p class="xh_a"></p>
                                <div class="jt_a">
                                    <img class="jt_a" th:src="@{/index/images/jt.svg}">
                                </div>
                            </div>
                            <div class="rq_wb">
                                <div class="rq">
                                    <p class="t1" th:text="${#dates.format(item.ctime,'yyyy/MM/dd')}"></p>
                                    <p class="xh_a"></p>
                                    <div class="jt">
                                        <img class="jt" th:src="@{/index/images/jt.svg}">
                                    </div>
                                </div>
                                <div class="wb">
                                    <h4 class="l1" th:text="${item.total}"></h4>
                                    <p class="l2" th:text="${item.content}"></p>
                                </div>
                            </div>
                            <div class="ct">
                                <img class="" width="240" height="140" th:src="${item.newsPic}" />
                            </div>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="pages">
                <ul>
                    <li><a th:href="@{/home/index/news(pageNum=1)}" class="on"> 首页</a></li>
                    <li><a th:if="${pageInfo.pageNum>1}" th:href="@{/home/index/news(pageNum=${pageInfo.getPageNum()-1})}" class="next"> <em class="">上一页</em></a></li>
                    <li><a th:if="${pageInfo.pageNum<pageInfo.getPageSize()}" th:href="@{/home/index/news(pageNum=${pageInfo.getPageNum()+1})}" class="next"> <em class="">下一页</em></a></li>
                    <li><a th:href="@{/home/index/news(pageNum=${pageInfo.getPages()})}" class="on"> 末页</a></li>
                </ul>
            </div>
        </div>
</div>
<th:block th:include="home/commons/include :: index-foot" />
</body>
</html>

